﻿using Sw.Hospital.HealthExaminationSystem.Common.Bases;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Sw.Hospital.HealthExaminationSystem.UserSettings.OccdiseaseSet
{
    public partial class frmRiksSumList : UserBaseForm
    {

        public frmRiksSumList()
        {
            InitializeComponent();
        }

        private void frmRiksSumList_Load(object sender, EventArgs e)
        {
            List<RiskSumDto> riskSums = new List<RiskSumDto>();
            RiskSumDto riskSum = new RiskSumDto();
            riskSum.Risksum = "";
            riskSum.content = "";
            riskSum.remark = "";
            riskSum.RiskadVice = "";
            riskSum.Riskname = "";
            riskSums.Add(riskSum);
            gridControl1.DataSource = riskSums;
        }

    }
    public class RiskSumDto
    {
        /// <summary>
        /// 危害因素名称
        /// </summary>
        public string Riskname { get; set; }
        /// <summary>
        /// 危害因素结论
        /// </summary>
        public string Risksum { get; set; }
        /// <summary>
        /// 危害因素处理意见
        /// </summary>
        public string RiskadVice { get; set; }
        /// <summary>
        /// 危害因素判断依据
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string remark { get; set; }
    }
}
